package com.demo.mapper;

import com.demo.po.LogPo;

import java.sql.SQLException;
import java.util.List;

/**
 * LogMapper.java
 **/

public interface LogMapper extends ISqlMapper {

    public int countLogs(LogPo cond) throws SQLException;

    public List<LogPo> findLogsByPage(LogPo cond) throws SQLException;

    public List<LogPo> findAllLogs(LogPo cond) throws SQLException;

    public LogPo getLog(Integer id) throws SQLException;

    public Integer addLog(LogPo obj) throws SQLException;

    public int updateLog(LogPo obj) throws SQLException;

    public int deleteLog(Integer id) throws SQLException;

}
